Sebastian Ramacher [Mon, 5 Aug 2024 21:03:13 +0000 (23:03 +0200)]
Merge ffmpeg (7:7.0.2-2) import into refs/heads/workingbranch
David Rosca [Wed, 8 May 2024 07:11:13 +0000 (09:11 +0200)]
lavc/vaapi_av1: Avoid sending the same slice buffer multiple times
When there are multiple tiles in one slice buffer, use multiple slice
params to avoid sending the same slice buffer multiple times and thus
increasing the bitstream size the driver will need to upload to hw.
Reviewed-by: Neal Gompa <ngompa13@gmail.com>
Signed-off-by: David Rosca <nowrep@gmail.com>
Signed-off-by: Haihao Xiang <haihao.xiang@intel.com>
(cherry picked from commit
d2d911eb9a2fc6eb8d86b3ae025a56c1a2692fba)
Gbp-Pq: Name 0002-lavc-vaapi_av1-Avoid-sending-the-same-slice-buffer-m.patch
David Rosca [Wed, 8 May 2024 07:11:11 +0000 (09:11 +0200)]
lavc/vaapi_decode: Make it possible to send multiple slice params buffers
Reviewed-by: Neal Gompa <ngompa13@gmail.com>
Signed-off-by: David Rosca <nowrep@gmail.com>
Signed-off-by: Haihao Xiang <haihao.xiang@intel.com>
(cherry picked from commit
fe9d889dcd79ea18d4dfaa39df4ddbd4c8c3b15c)
Gbp-Pq: Name 0001-lavc-vaapi_decode-Make-it-possible-to-send-multiple-.patch
Sebastian Ramacher [Mon, 5 Aug 2024 21:03:13 +0000 (23:03 +0200)]
ffmpeg (7:7.0.2-2) unstable; urgency=medium
* debian/patches: Apply patches to avoid VA-API failures with modern Mesa3D
(Closes: #
1072038)
[dgit import unpatched ffmpeg 7:7.0.2-2]
Sebastian Ramacher [Mon, 5 Aug 2024 21:03:13 +0000 (23:03 +0200)]
Import ffmpeg_7.0.2-2.debian.tar.xz
[dgit import tarball ffmpeg 7:7.0.2-2 ffmpeg_7.0.2-2.debian.tar.xz]
Sebastian Ramacher [Sat, 3 Aug 2024 22:26:53 +0000 (00:26 +0200)]
Import ffmpeg_7.0.2.orig.tar.xz
[dgit import orig ffmpeg_7.0.2.orig.tar.xz]
Sebastian Ramacher [Sun, 31 Dec 2023 09:42:58 +0000 (10:42 +0100)]
Merge ffmpeg (7:6.1.1-1) import into refs/heads/workingbranch
Sebastian Ramacher [Sun, 31 Dec 2023 09:42:58 +0000 (10:42 +0100)]
ffmpeg (7:6.1.1-1) unstable; urgency=medium
* New upstream version 6.1.1
* debian/control: Use pkgconf
* debian/patches: Remove patches included upstream
* debian/copyright: Remove unused file patterns
* debian/*.lintian-overrides: Update due renamed tags
[dgit import unpatched ffmpeg 7:6.1.1-1]
Sebastian Ramacher [Sun, 31 Dec 2023 09:42:58 +0000 (10:42 +0100)]
Import ffmpeg_6.1.1.orig.tar.xz
[dgit import orig ffmpeg_6.1.1.orig.tar.xz]
Sebastian Ramacher [Sun, 31 Dec 2023 09:42:58 +0000 (10:42 +0100)]
Import ffmpeg_6.1.1-1.debian.tar.xz
[dgit import tarball ffmpeg 7:6.1.1-1 ffmpeg_6.1.1-1.debian.tar.xz]
Sebastian Ramacher [Sat, 2 Dec 2023 11:59:43 +0000 (12:59 +0100)]
Merge ffmpeg (7:6.1-5) import into refs/heads/workingbranch
Dmitry Rogozhkin [Tue, 21 Nov 2023 05:57:32 +0000 (21:57 -0800)]
avcodec/decode: validate hw_frames_ctx when AVHWAccel.free_frame_priv is used
Validate that a hw_frames_ctx is available before using it for
the AVHWAccel.free_frame_priv callback, and don't require it to
be present when the callback is not in use by the HWAccel.
v2: check for free_frame_priv (Hendrik)
v3: return EINVAL (Christoph Reiter)
v4: better commit message (Hendrik)
v5: fix typo with missed frames_ctx (Lynne)
See[1]: https://github.com/msys2/MINGW-packages/pull/19050
Fixes: be07145109 ("avcodec: add AVHWAccel.free_frame_priv callback")
CC: Lynne <dev@lynne.ee>
CC: Christoph Reiter <reiter.christoph@gmail.com>
Signed-off-by: Dmitry Rogozhkin <dmitry.v.rogozhkin@intel.com>
Gbp-Pq: Name 0002-avcodec-decode-validate-hw_frames_ctx-when-AVHWAccel.patch
Sebastian Ramacher [Sat, 11 Nov 2023 23:29:00 +0000 (00:29 +0100)]
avcodec/avfft: initialize to 0 to avoid segfaults when freeing ctx2
Gbp-Pq: Name 0001-avcodec-avfft-initialize-to-0-to-avoid-segfaults-whe.patch
Sebastian Ramacher [Sat, 2 Dec 2023 11:59:43 +0000 (12:59 +0100)]
ffmpeg (7:6.1-5) unstable; urgency=medium
[ - ]
* debian/: Build with harfbuzz (Closes: #
1056597)
[dgit import unpatched ffmpeg 7:6.1-5]
Sebastian Ramacher [Sat, 2 Dec 2023 11:59:43 +0000 (12:59 +0100)]
Import ffmpeg_6.1-5.debian.tar.xz
[dgit import tarball ffmpeg 7:6.1-5 ffmpeg_6.1-5.debian.tar.xz]
Sebastian Ramacher [Tue, 21 Nov 2023 19:52:36 +0000 (20:52 +0100)]
Merge ffmpeg (7:6.1-4) import into refs/heads/workingbranch
Dmitry Rogozhkin [Tue, 21 Nov 2023 05:57:32 +0000 (21:57 -0800)]
avcodec/decode: validate hw_frames_ctx when AVHWAccel.free_frame_priv is used
Validate that a hw_frames_ctx is available before using it for
the AVHWAccel.free_frame_priv callback, and don't require it to
be present when the callback is not in use by the HWAccel.
v2: check for free_frame_priv (Hendrik)
v3: return EINVAL (Christoph Reiter)
v4: better commit message (Hendrik)
v5: fix typo with missed frames_ctx (Lynne)
See[1]: https://github.com/msys2/MINGW-packages/pull/19050
Fixes: be07145109 ("avcodec: add AVHWAccel.free_frame_priv callback")
CC: Lynne <dev@lynne.ee>
CC: Christoph Reiter <reiter.christoph@gmail.com>
Signed-off-by: Dmitry Rogozhkin <dmitry.v.rogozhkin@intel.com>
Gbp-Pq: Name 0002-avcodec-decode-validate-hw_frames_ctx-when-AVHWAccel.patch
Sebastian Ramacher [Sat, 11 Nov 2023 23:29:00 +0000 (00:29 +0100)]
avcodec/avfft: initialize to 0 to avoid segfaults when freeing ctx2
Gbp-Pq: Name 0001-avcodec-avfft-initialize-to-0-to-avoid-segfaults-whe.patch
Sebastian Ramacher [Tue, 21 Nov 2023 19:52:36 +0000 (20:52 +0100)]
ffmpeg (7:6.1-4) unstable; urgency=medium
* debian/patches: Apply new upstream patch
[dgit import unpatched ffmpeg 7:6.1-4]
Sebastian Ramacher [Tue, 21 Nov 2023 19:52:36 +0000 (20:52 +0100)]
Import ffmpeg_6.1-4.debian.tar.xz
[dgit import tarball ffmpeg 7:6.1-4 ffmpeg_6.1-4.debian.tar.xz]
Sebastian Ramacher [Sun, 19 Nov 2023 09:48:05 +0000 (10:48 +0100)]
Merge ffmpeg (7:6.1-3) import into refs/heads/workingbranch
Dmitry Rogozhkin [Fri, 17 Nov 2023 17:03:03 +0000 (09:03 -0800)]
avcodec/decode: guard against NULL hw_frames_ctx
Guard against segfault running VLC decoding under msys2 [1]:
Thread 33 received signal SIGSEGV, Segmentation fault.
[Switching to Thread 37728.0xadd0]
ff_hwaccel_frame_priv_alloc (avctx=0x6447b00, hwaccel_picture_private=0x65dfd00)
at libavcodec/decode.c:1848
1848 frames_ctx = (AVHWFramesContext *)avctx->hw_frames_ctx->data;
(gdb) bt
at libavcodec/decode.c:1848
at libavcodec/h264_slice.c:208
first_slice=1) at libavcodec/h264_slice.c:1599
at libavcodec/h264_slice.c:2130
at libavcodec/h264dec.c:652
got_frame=0x646e4b0, avpkt=0x64522c0) at libavcodec/h264dec.c:1048
(gdb) p avctx
$1 = (AVCodecContext *) 0x6447b00
(gdb) p avctx->hw_frames_ctx
$2 = (AVBufferRef *) 0x0
v2: check for free_frame_priv (Hendrik)
v3: return EINVAL (Christoph Reiter)
See[1]: https://github.com/msys2/MINGW-packages/pull/19050
Fixes: be07145109 ("avcodec: add AVHWAccel.free_frame_priv callback")
CC: Lynne <dev@lynne.ee>
CC: Christoph Reiter <reiter.christoph@gmail.com>
Signed-off-by: Dmitry Rogozhkin <dmitry.v.rogozhkin@intel.com>
Gbp-Pq: Name 0002-avcodec-decode-guard-against-NULL-hw_frames_ctx.patch
Sebastian Ramacher [Sat, 11 Nov 2023 23:29:00 +0000 (00:29 +0100)]
avcodec/avfft: initialize to 0 to avoid segfaults when freeing ctx2
Gbp-Pq: Name 0001-avcodec-avfft-initialize-to-0-to-avoid-segfaults-whe.patch
Sebastian Ramacher [Sun, 19 Nov 2023 09:48:05 +0000 (10:48 +0100)]
ffmpeg (7:6.1-3) unstable; urgency=medium
* debian/patches: Fix crash in vlc hardware decoder (Closes: #
1055952,
#
1056058, #
1056149)
[dgit import unpatched ffmpeg 7:6.1-3]
Sebastian Ramacher [Sun, 19 Nov 2023 09:48:05 +0000 (10:48 +0100)]
Import ffmpeg_6.1-3.debian.tar.xz
[dgit import tarball ffmpeg 7:6.1-3 ffmpeg_6.1-3.debian.tar.xz]
Sebastian Ramacher [Sat, 11 Nov 2023 12:02:47 +0000 (13:02 +0100)]
Import ffmpeg_6.1.orig.tar.xz
[dgit import orig ffmpeg_6.1.orig.tar.xz]
Sebastian Ramacher [Tue, 31 Oct 2023 23:06:10 +0000 (00:06 +0100)]
Merge ffmpeg (7:6.0-9) import into refs/heads/workingbranch
Sebastian Ramacher [Tue, 31 Oct 2023 23:03:06 +0000 (00:03 +0100)]
Patch up t2h for texinfo 7.1
This is not perfect, but the results looks okay and makes the build
pass.
Gbp-Pq: Name 0005-Patch-up-t2h-for-texinfo-7.1.patch
Niklas Haas [Mon, 13 Mar 2023 13:33:16 +0000 (14:33 +0100)]
avfilter/vf_libplacebo: remove deprecated field
This has not been functional since a year ago, including in our current
minimum dependency of libplacebo (v4.192.0). It also causes build errors
against libplacebo v6, so it needs to be removed from the code. We can
keep the option around for now, but it should also be removed soon.
Signed-off-by: Niklas Haas <git@haasn.dev>
Signed-off-by: James Almer <jamrial@gmail.com>
Gbp-Pq: Name 0004-avfilter-vf_libplacebo-remove-deprecated-field.patch
Niklas Haas [Mon, 13 Mar 2023 14:10:26 +0000 (15:10 +0100)]
avfilter/vf_libplacebo: wrap deprecated opts in FF_API define
Signed-off-by: Niklas Haas <git@haasn.dev>
Signed-off-by: James Almer <jamrial@gmail.com>
Gbp-Pq: Name 0003-avfilter-vf_libplacebo-wrap-deprecated-opts-in-FF_AP.patch
Sebastian Ramacher [Sun, 16 Apr 2023 11:39:27 +0000 (13:39 +0200)]
examples: fix build of mux and resample_audio
The commits
0a69ca656b7178c260f68d50d07b2e16a073050c and
cd8211527efbb9cad19db1c0d033da0749836e43 renamed the examples, but the
targets were not updated. Hence, the builds are missing -lm.
Signed-off-by: Sebastian Ramacher <sramacher@debian.org>
Gbp-Pq: Name 0002-examples-fix-build-of-mux-and-resample_audio.patch
Rémi Denis-Courmont [Mon, 17 Jul 2023 20:19:33 +0000 (22:19 +0200)]
avcodec/x86/mathops: clip constants used with shift instructions within inline assembly
Fixes assembling with binutil as >= 2.41
Signed-off-by: James Almer <jamrial at gmail.com>
Gbp-Pq: Name 0001-avcodec-x86-mathops-clip-constants-used-with-shift-i.patch
Sebastian Ramacher [Tue, 31 Oct 2023 23:06:10 +0000 (00:06 +0100)]
ffmpeg (7:6.0-9) unstable; urgency=medium
* debian/patches: Workaround build issues with texinfo 7.1 (Closes:
#
1055111)
[dgit import unpatched ffmpeg 7:6.0-9]
Sebastian Ramacher [Tue, 31 Oct 2023 23:06:10 +0000 (00:06 +0100)]
Import ffmpeg_6.0-9.debian.tar.xz
[dgit import tarball ffmpeg 7:6.0-9 ffmpeg_6.0-9.debian.tar.xz]
Sebastian Ramacher [Sun, 24 Sep 2023 06:47:33 +0000 (07:47 +0100)]
Merge ffmpeg (7:6.0-7) import into refs/heads/workingbranch
Niklas Haas [Mon, 13 Mar 2023 13:33:16 +0000 (14:33 +0100)]
avfilter/vf_libplacebo: remove deprecated field
This has not been functional since a year ago, including in our current
minimum dependency of libplacebo (v4.192.0). It also causes build errors
against libplacebo v6, so it needs to be removed from the code. We can
keep the option around for now, but it should also be removed soon.
Signed-off-by: Niklas Haas <git@haasn.dev>
Signed-off-by: James Almer <jamrial@gmail.com>
Gbp-Pq: Name 0004-avfilter-vf_libplacebo-remove-deprecated-field.patch
Niklas Haas [Mon, 13 Mar 2023 14:10:26 +0000 (15:10 +0100)]
avfilter/vf_libplacebo: wrap deprecated opts in FF_API define
Signed-off-by: Niklas Haas <git@haasn.dev>
Signed-off-by: James Almer <jamrial@gmail.com>
Gbp-Pq: Name 0003-avfilter-vf_libplacebo-wrap-deprecated-opts-in-FF_AP.patch
Sebastian Ramacher [Sun, 16 Apr 2023 11:39:27 +0000 (13:39 +0200)]
examples: fix build of mux and resample_audio
The commits
0a69ca656b7178c260f68d50d07b2e16a073050c and
cd8211527efbb9cad19db1c0d033da0749836e43 renamed the examples, but the
targets were not updated. Hence, the builds are missing -lm.
Signed-off-by: Sebastian Ramacher <sramacher@debian.org>
Gbp-Pq: Name 0002-examples-fix-build-of-mux-and-resample_audio.patch
Rémi Denis-Courmont [Mon, 17 Jul 2023 20:19:33 +0000 (22:19 +0200)]
avcodec/x86/mathops: clip constants used with shift instructions within inline assembly
Fixes assembling with binutil as >= 2.41
Signed-off-by: James Almer <jamrial at gmail.com>
Gbp-Pq: Name 0001-avcodec-x86-mathops-clip-constants-used-with-shift-i.patch
Sebastian Ramacher [Sun, 24 Sep 2023 06:47:33 +0000 (07:47 +0100)]
ffmpeg (7:6.0-7) unstable; urgency=medium
* debian/: Disable libsvtav1 to unblock transition
[dgit import unpatched ffmpeg 7:6.0-7]
Sebastian Ramacher [Sun, 24 Sep 2023 06:47:33 +0000 (07:47 +0100)]
Import ffmpeg_6.0-7.debian.tar.xz
[dgit import tarball ffmpeg 7:6.0-7 ffmpeg_6.0-7.debian.tar.xz]
Sebastian Ramacher [Wed, 23 Aug 2023 08:24:18 +0000 (09:24 +0100)]
Merge ffmpeg (7:6.0-6) import into refs/heads/workingbranch
Niklas Haas [Mon, 13 Mar 2023 13:33:16 +0000 (14:33 +0100)]
avfilter/vf_libplacebo: remove deprecated field
This has not been functional since a year ago, including in our current
minimum dependency of libplacebo (v4.192.0). It also causes build errors
against libplacebo v6, so it needs to be removed from the code. We can
keep the option around for now, but it should also be removed soon.
Signed-off-by: Niklas Haas <git@haasn.dev>
Signed-off-by: James Almer <jamrial@gmail.com>
Gbp-Pq: Name 0004-avfilter-vf_libplacebo-remove-deprecated-field.patch
Niklas Haas [Mon, 13 Mar 2023 14:10:26 +0000 (15:10 +0100)]
avfilter/vf_libplacebo: wrap deprecated opts in FF_API define
Signed-off-by: Niklas Haas <git@haasn.dev>
Signed-off-by: James Almer <jamrial@gmail.com>
Gbp-Pq: Name 0003-avfilter-vf_libplacebo-wrap-deprecated-opts-in-FF_AP.patch
Sebastian Ramacher [Sun, 16 Apr 2023 11:39:27 +0000 (13:39 +0200)]
examples: fix build of mux and resample_audio
The commits
0a69ca656b7178c260f68d50d07b2e16a073050c and
cd8211527efbb9cad19db1c0d033da0749836e43 renamed the examples, but the
targets were not updated. Hence, the builds are missing -lm.
Signed-off-by: Sebastian Ramacher <sramacher@debian.org>
Gbp-Pq: Name 0002-examples-fix-build-of-mux-and-resample_audio.patch
Rémi Denis-Courmont [Mon, 17 Jul 2023 20:19:33 +0000 (22:19 +0200)]
avcodec/x86/mathops: clip constants used with shift instructions within inline assembly
Fixes assembling with binutil as >= 2.41
Signed-off-by: James Almer <jamrial at gmail.com>
Gbp-Pq: Name 0001-avcodec-x86-mathops-clip-constants-used-with-shift-i.patch
Sebastian Ramacher [Wed, 23 Aug 2023 08:24:18 +0000 (09:24 +0100)]
ffmpeg (7:6.0-6) unstable; urgency=medium
* debian/libavutils58.symbols: Fix version for avpriv symbols
* debian/: Enable rav1e on riscv64
* debian/rules: Build static libraries with PIC enabled
[dgit import unpatched ffmpeg 7:6.0-6]
Sebastian Ramacher [Wed, 23 Aug 2023 08:24:18 +0000 (09:24 +0100)]
Import ffmpeg_6.0-6.debian.tar.xz
[dgit import tarball ffmpeg 7:6.0-6 ffmpeg_6.0-6.debian.tar.xz]
Sebastian Ramacher [Sun, 5 Mar 2023 14:47:45 +0000 (15:47 +0100)]
Import ffmpeg_6.0.orig.tar.xz
[dgit import orig ffmpeg_6.0.orig.tar.xz]
Sebastian Ramacher [Sun, 5 Mar 2023 14:47:45 +0000 (14:47 +0000)]
Import ffmpeg_6.0.orig.tar.xz
[dgit import orig ffmpeg_6.0.orig.tar.xz]
Sebastian Ramacher [Fri, 17 Feb 2023 07:26:22 +0000 (07:26 +0000)]
Merge ffmpeg (7:5.1.2-3) import into refs/heads/workingbranch
Lynne [Sun, 25 Dec 2022 00:03:30 +0000 (01:03 +0100)]
hwcontext_vulkan: remove optional encode/decode extensions from the list
They're not currently used, so they don't need to be there.
Vulkan stabilized the decode extensions less than a week ago, and their
name prefixes were changed from EXT to KHR. It's a bit too soon to be
depending on it, so rather than bumping, just remove these for now.
(cherry picked from commit
eb0455d64690eed0068e5cb202f72ecdf899837c)
Gbp-Pq: Name 0001-hwcontext_vulkan-remove-optional-encode-decode-exten.patch
Sebastian Ramacher [Fri, 17 Feb 2023 07:26:22 +0000 (07:26 +0000)]
ffmpeg (7:5.1.2-3) unstable; urgency=medium
* debian/rules: Disable more tests on ppc64 (Closes: #
1022764)
* debian/patches: Add upstream patch to fix FTBFS after vulkan changes
(Closes: #
1031447)
[dgit import unpatched ffmpeg 7:5.1.2-3]
Sebastian Ramacher [Fri, 17 Feb 2023 07:26:22 +0000 (07:26 +0000)]
Import ffmpeg_5.1.2-3.debian.tar.xz
[dgit import tarball ffmpeg 7:5.1.2-3 ffmpeg_5.1.2-3.debian.tar.xz]
Sebastian Ramacher [Sun, 22 Jan 2023 12:07:50 +0000 (12:07 +0000)]
Merge ffmpeg (7:5.1.2-2) import into refs/heads/workingbranch
Sebastian Ramacher [Sun, 22 Jan 2023 12:07:50 +0000 (12:07 +0000)]
ffmpeg (7:5.1.2-2) unstable; urgency=medium
[ Mathieu Malaterre ]
* d/control: Add support for JPEG-XL. (Closes: #
1023646)
[ Diederik de Haas ]
* ci: Enable Salsa's CI
[ Sebastian Ramacher ]
* debian/control: Bump Standards-Version
[dgit import unpatched ffmpeg 7:5.1.2-2]
Sebastian Ramacher [Sun, 22 Jan 2023 12:07:50 +0000 (12:07 +0000)]
Import ffmpeg_5.1.2-2.debian.tar.xz
[dgit import tarball ffmpeg 7:5.1.2-2 ffmpeg_5.1.2-2.debian.tar.xz]
Sebastian Ramacher [Sat, 1 Oct 2022 07:57:28 +0000 (08:57 +0100)]
Import ffmpeg_5.1.2.orig.tar.xz
[dgit import orig ffmpeg_5.1.2.orig.tar.xz]
Sebastian Ramacher [Sat, 1 Oct 2022 07:57:28 +0000 (08:57 +0100)]
Merge ffmpeg (7:5.1.2-1) import into refs/heads/workingbranch
Sebastian Ramacher [Sat, 1 Oct 2022 07:57:28 +0000 (08:57 +0100)]
ffmpeg (7:5.1.2-1) unstable; urgency=medium
* New upstream version 5.1.2
* debian/rules: Fix typo (Closes: #
1020273)
* debian/patches: Remove all patches, all integrated upstream
[dgit import unpatched ffmpeg 7:5.1.2-1]
Sebastian Ramacher [Sat, 1 Oct 2022 07:57:28 +0000 (08:57 +0100)]
Import ffmpeg_5.1.2-1.debian.tar.xz
[dgit import tarball ffmpeg 7:5.1.2-1 ffmpeg_5.1.2-1.debian.tar.xz]
Sebastian Ramacher [Fri, 16 Sep 2022 21:50:22 +0000 (22:50 +0100)]
Merge ffmpeg (7:5.1.1-2) import into refs/heads/workingbranch
Martin Storsjö [Mon, 5 Sep 2022 12:17:56 +0000 (15:17 +0300)]
slicethread: Limit the automatic number of threads to 16
This matches a similar cap on the number of automatic threads
in libavcodec/pthread_slice.c.
On systems with lots of cores, this fixes a couple fate failures
in 32 bit mode on such machines (where spawning a huge number of
threads runs out of address space).
Signed-off-by: Martin Storsjö <martin@martin.st>
Gbp-Pq: Name 0002-slicethread-Limit-the-automatic-number-of-threads-to.patch
James Cowgill [Sun, 11 Aug 2019 15:50:56 +0000 (16:50 +0100)]
avcodec/arm/sbcenc: avoid callee preserved vfp registers
When compiling FFmpeg with GCC-9, some very random segfaults were
observed in code which had previously called down into the SBC encoder
NEON assembly routines. This was caused by these functions clobbering
some of the vfp callee saved registers (d8 - d15 aka q4 - q7). GCC was
using these registers to save local variables, but after these
functions returned, they would contain garbage.
Fix by reallocating the registers in the two affected functions in
the following way:
ff_sbc_analyze_4_neon: q2-q5 => q8-q11, then q1-q4 => q8-q11
ff_sbc_analyze_8_neon: q2-q9 => q8-q15
The reason for using these replacements is to keep closely related
sets of registers consecutively numbered which hopefully makes the
code more easy to follow. Since this commit only reallocates
registers, it should have no performance impact.
Signed-off-by: James Cowgill <jcowgill@debian.org>
Gbp-Pq: Name 0001-avcodec-arm-sbcenc-avoid-callee-preserved-vfp-regist.patch
Sebastian Ramacher [Fri, 16 Sep 2022 21:50:22 +0000 (22:50 +0100)]
ffmpeg (7:5.1.1-2) unstable; urgency=medium
* debian/rules: Disable filter-overlay_yuv420p10 on all BE architectures
(Closes: #
1019133)
* debian/: Enable librav1e support
* debian/patches: Apply upstream patch to limit automatic number of threads
to 16
[dgit import unpatched ffmpeg 7:5.1.1-2]
Sebastian Ramacher [Fri, 16 Sep 2022 21:50:22 +0000 (22:50 +0100)]
Import ffmpeg_5.1.1-2.debian.tar.xz
[dgit import tarball ffmpeg 7:5.1.1-2 ffmpeg_5.1.1-2.debian.tar.xz]
Sebastian Ramacher [Sat, 3 Sep 2022 07:46:14 +0000 (08:46 +0100)]
Merge ffmpeg (7:5.1.1-1) import into refs/heads/workingbranch
Sebastian Ramacher [Sat, 3 Sep 2022 07:46:14 +0000 (08:46 +0100)]
Import ffmpeg_5.1.1.orig.tar.xz
[dgit import orig ffmpeg_5.1.1.orig.tar.xz]
James Cowgill [Sun, 11 Aug 2019 15:50:56 +0000 (16:50 +0100)]
avcodec/arm/sbcenc: avoid callee preserved vfp registers
When compiling FFmpeg with GCC-9, some very random segfaults were
observed in code which had previously called down into the SBC encoder
NEON assembly routines. This was caused by these functions clobbering
some of the vfp callee saved registers (d8 - d15 aka q4 - q7). GCC was
using these registers to save local variables, but after these
functions returned, they would contain garbage.
Fix by reallocating the registers in the two affected functions in
the following way:
ff_sbc_analyze_4_neon: q2-q5 => q8-q11, then q1-q4 => q8-q11
ff_sbc_analyze_8_neon: q2-q9 => q8-q15
The reason for using these replacements is to keep closely related
sets of registers consecutively numbered which hopefully makes the
code more easy to follow. Since this commit only reallocates
registers, it should have no performance impact.
Signed-off-by: James Cowgill <jcowgill@debian.org>
Gbp-Pq: Name 0001-avcodec-arm-sbcenc-avoid-callee-preserved-vfp-regist.patch
Sebastian Ramacher [Sat, 3 Sep 2022 07:46:14 +0000 (08:46 +0100)]
ffmpeg (7:5.1.1-1) unstable; urgency=medium
* New upstream version 5.1.1
* debian/patches: Remove upstream patches
[dgit import unpatched ffmpeg 7:5.1.1-1]
Sebastian Ramacher [Sat, 3 Sep 2022 07:46:14 +0000 (08:46 +0100)]
Import ffmpeg_5.1.1-1.debian.tar.xz
[dgit import tarball ffmpeg 7:5.1.1-1 ffmpeg_5.1.1-1.debian.tar.xz]
Sebastian Ramacher [Wed, 24 Aug 2022 21:33:44 +0000 (22:33 +0100)]
Merge ffmpeg (7:5.1-3) import into refs/heads/workingbranch
Derek Buitenhuis [Wed, 10 Aug 2022 22:17:58 +0000 (23:17 +0100)]
ipfsgateway: Remove default gateway
A gateway can see everything, and we should not be shipping a hardcoded
default from a third party company; it's a security risk.
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
(cherry picked from commit
412922cc6fa790897ef6bb2be5d6f9a5f030754d)
Gbp-Pq: Name 0007-ipfsgateway-Remove-default-gateway.patch
Andreas Rheinhardt [Mon, 1 Aug 2022 12:41:38 +0000 (14:41 +0200)]
fate/lavf-image: Disable file checksums for exr tests
The generated files are endian-dependent, so no checksums
may be part of the ref files.
Fixes ticket #9854.
Tested-by: Sebastian Ramacher <sramacher@debian.org>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
(cherry picked from commit
fe211aebbf2988f7a6588cf9f45277ca74b92763)
Gbp-Pq: Name 0006-fate-lavf-image-Disable-file-checksums-for-exr-tests.patch
Andreas Rheinhardt [Mon, 1 Aug 2022 12:24:51 +0000 (14:24 +0200)]
tests/fate-run: Allow to skip file checksums for lavf_image
The output file (even the filesize) of the recently added
EXR tests depends on the endianness; therefore checksums
of these files must not be part of the ref file. Therefore
this commit adds an option (unused for now) to disable these
checksums on a per-test basis.
In order to avoid having to check twice, the checksum and
the filesize info are moved to immediately follow one another;
this results into updates to the ref files of all lavf-image tests.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
(cherry picked from commit
4fb8741c4670965eaf1f78d6122c6bdfdf1f3358)
Gbp-Pq: Name 0005-tests-fate-run-Allow-to-skip-file-checksums-for-lavf.patch
Andreas Rheinhardt [Sun, 24 Jul 2022 19:34:58 +0000 (21:34 +0200)]
fate/imf: Rename IMF fate-target
It conflicts with the name of the test using the testtool
in libavformat.mak.
Fixes ticket #9841.
Reviewed-by: Pierre-Anthony Lemieux <pal@sandflow.com>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
(cherry picked from commit
3b923116e5a348945281b8d827074ac8f897464d)
Gbp-Pq: Name 0004-fate-imf-Rename-IMF-fate-target.patch
James Almer [Fri, 29 Jul 2022 21:05:51 +0000 (18:05 -0300)]
avcodec/alac: don't fail if channels aren't set during init() when extradata is valid
The decoder is meant to use it as a fallback if the value in extradata is
invalid.
Regression since
d199099be.
Signed-off-by: James Almer <jamrial@gmail.com>
Gbp-Pq: Name 0003-avcodec-alac-don-t-fail-if-channels-aren-t-set-durin.patch
Marvin Scholz [Sun, 24 Jul 2022 10:11:49 +0000 (12:11 +0200)]
configure: properly require libx264 if enabled
When libx264 can not be found even though it is enabled, it should error
out properly instead of silently disabling it.
(cherry picked from commit
564d7946de56155d1c42165a8b561fcf5028cbbc)
Gbp-Pq: Name 0002-configure-properly-require-libx264-if-enabled.patch
James Cowgill [Sun, 11 Aug 2019 15:50:56 +0000 (16:50 +0100)]
avcodec/arm/sbcenc: avoid callee preserved vfp registers
When compiling FFmpeg with GCC-9, some very random segfaults were
observed in code which had previously called down into the SBC encoder
NEON assembly routines. This was caused by these functions clobbering
some of the vfp callee saved registers (d8 - d15 aka q4 - q7). GCC was
using these registers to save local variables, but after these
functions returned, they would contain garbage.
Fix by reallocating the registers in the two affected functions in
the following way:
ff_sbc_analyze_4_neon: q2-q5 => q8-q11, then q1-q4 => q8-q11
ff_sbc_analyze_8_neon: q2-q9 => q8-q15
The reason for using these replacements is to keep closely related
sets of registers consecutively numbered which hopefully makes the
code more easy to follow. Since this commit only reallocates
registers, it should have no performance impact.
Signed-off-by: James Cowgill <jcowgill@debian.org>
Gbp-Pq: Name 0001-avcodec-arm-sbcenc-avoid-callee-preserved-vfp-regist.patch
Sebastian Ramacher [Wed, 24 Aug 2022 21:33:44 +0000 (22:33 +0100)]
ffmpeg (7:5.1-3) unstable; urgency=medium
* debian/: Build with vulkan and libplacebo only on Linux (Closes: #
1017108)
* debian/patches: Add upstream patch to disable default ipfs gateway
[dgit import unpatched ffmpeg 7:5.1-3]
Sebastian Ramacher [Wed, 24 Aug 2022 21:33:44 +0000 (22:33 +0100)]
Import ffmpeg_5.1-3.debian.tar.xz
[dgit import tarball ffmpeg 7:5.1-3 ffmpeg_5.1-3.debian.tar.xz]
Sebastian Ramacher [Tue, 2 Aug 2022 18:27:24 +0000 (19:27 +0100)]
Merge ffmpeg (7:5.1-2) import into refs/heads/workingbranch
Andreas Rheinhardt [Mon, 1 Aug 2022 12:41:38 +0000 (14:41 +0200)]
fate/lavf-image: Disable file checksums for exr tests
The generated files are endian-dependent, so no checksums
may be part of the ref files.
Fixes ticket #9854.
Tested-by: Sebastian Ramacher <sramacher@debian.org>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
(cherry picked from commit
fe211aebbf2988f7a6588cf9f45277ca74b92763)
Gbp-Pq: Name 0006-fate-lavf-image-Disable-file-checksums-for-exr-tests.patch
Andreas Rheinhardt [Mon, 1 Aug 2022 12:24:51 +0000 (14:24 +0200)]
tests/fate-run: Allow to skip file checksums for lavf_image
The output file (even the filesize) of the recently added
EXR tests depends on the endianness; therefore checksums
of these files must not be part of the ref file. Therefore
this commit adds an option (unused for now) to disable these
checksums on a per-test basis.
In order to avoid having to check twice, the checksum and
the filesize info are moved to immediately follow one another;
this results into updates to the ref files of all lavf-image tests.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
(cherry picked from commit
4fb8741c4670965eaf1f78d6122c6bdfdf1f3358)
Gbp-Pq: Name 0005-tests-fate-run-Allow-to-skip-file-checksums-for-lavf.patch
Andreas Rheinhardt [Sun, 24 Jul 2022 19:34:58 +0000 (21:34 +0200)]
fate/imf: Rename IMF fate-target
It conflicts with the name of the test using the testtool
in libavformat.mak.
Fixes ticket #9841.
Reviewed-by: Pierre-Anthony Lemieux <pal@sandflow.com>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
(cherry picked from commit
3b923116e5a348945281b8d827074ac8f897464d)
Gbp-Pq: Name 0004-fate-imf-Rename-IMF-fate-target.patch
James Almer [Fri, 29 Jul 2022 21:05:51 +0000 (18:05 -0300)]
avcodec/alac: don't fail if channels aren't set during init() when extradata is valid
The decoder is meant to use it as a fallback if the value in extradata is
invalid.
Regression since
d199099be.
Signed-off-by: James Almer <jamrial@gmail.com>
Gbp-Pq: Name 0003-avcodec-alac-don-t-fail-if-channels-aren-t-set-durin.patch
Marvin Scholz [Sun, 24 Jul 2022 10:11:49 +0000 (12:11 +0200)]
configure: properly require libx264 if enabled
When libx264 can not be found even though it is enabled, it should error
out properly instead of silently disabling it.
(cherry picked from commit
564d7946de56155d1c42165a8b561fcf5028cbbc)
Gbp-Pq: Name 0002-configure-properly-require-libx264-if-enabled.patch
James Cowgill [Sun, 11 Aug 2019 15:50:56 +0000 (16:50 +0100)]
avcodec/arm/sbcenc: avoid callee preserved vfp registers
When compiling FFmpeg with GCC-9, some very random segfaults were
observed in code which had previously called down into the SBC encoder
NEON assembly routines. This was caused by these functions clobbering
some of the vfp callee saved registers (d8 - d15 aka q4 - q7). GCC was
using these registers to save local variables, but after these
functions returned, they would contain garbage.
Fix by reallocating the registers in the two affected functions in
the following way:
ff_sbc_analyze_4_neon: q2-q5 => q8-q11, then q1-q4 => q8-q11
ff_sbc_analyze_8_neon: q2-q9 => q8-q15
The reason for using these replacements is to keep closely related
sets of registers consecutively numbered which hopefully makes the
code more easy to follow. Since this commit only reallocates
registers, it should have no performance impact.
Signed-off-by: James Cowgill <jcowgill@debian.org>
Gbp-Pq: Name 0001-avcodec-arm-sbcenc-avoid-callee-preserved-vfp-regist.patch
Sebastian Ramacher [Tue, 2 Aug 2022 18:27:24 +0000 (19:27 +0100)]
ffmpeg (7:5.1-2) unstable; urgency=medium
* debian/: Fix test failures on s390x (Closes: #
1016519)
* Apply upstream fixes for some s390x test failures
* Disable one new failing test
[dgit import unpatched ffmpeg 7:5.1-2]
Sebastian Ramacher [Tue, 2 Aug 2022 18:27:24 +0000 (19:27 +0100)]
Import ffmpeg_5.1-2.debian.tar.xz
[dgit import tarball ffmpeg 7:5.1-2 ffmpeg_5.1-2.debian.tar.xz]
Sebastian Ramacher [Sun, 31 Jul 2022 18:07:37 +0000 (19:07 +0100)]
Import ffmpeg_5.1.orig.tar.xz
[dgit import orig ffmpeg_5.1.orig.tar.xz]
Sebastian Ramacher [Thu, 23 Jun 2022 09:29:43 +0000 (10:29 +0100)]
Merge ffmpeg (7:5.0.1-3) import into refs/heads/workingbranch
James Cowgill [Sun, 11 Aug 2019 15:50:56 +0000 (16:50 +0100)]
avcodec/arm/sbcenc: avoid callee preserved vfp registers
When compiling FFmpeg with GCC-9, some very random segfaults were
observed in code which had previously called down into the SBC encoder
NEON assembly routines. This was caused by these functions clobbering
some of the vfp callee saved registers (d8 - d15 aka q4 - q7). GCC was
using these registers to save local variables, but after these
functions returned, they would contain garbage.
Fix by reallocating the registers in the two affected functions in
the following way:
ff_sbc_analyze_4_neon: q2-q5 => q8-q11, then q1-q4 => q8-q11
ff_sbc_analyze_8_neon: q2-q9 => q8-q15
The reason for using these replacements is to keep closely related
sets of registers consecutively numbered which hopefully makes the
code more easy to follow. Since this commit only reallocates
registers, it should have no performance impact.
Signed-off-by: James Cowgill <jcowgill@debian.org>
Gbp-Pq: Name 0001-avcodec-arm-sbcenc-avoid-callee-preserved-vfp-regist.patch
Sebastian Ramacher [Thu, 23 Jun 2022 09:29:43 +0000 (10:29 +0100)]
ffmpeg (7:5.0.1-3) unstable; urgency=medium
* debian/tests: Update encoders for autopkgtests
[dgit import unpatched ffmpeg 7:5.0.1-3]
Sebastian Ramacher [Thu, 23 Jun 2022 09:29:43 +0000 (10:29 +0100)]
Import ffmpeg_5.0.1-3.debian.tar.xz
[dgit import tarball ffmpeg 7:5.0.1-3 ffmpeg_5.0.1-3.debian.tar.xz]
Sebastian Ramacher [Wed, 6 Apr 2022 09:28:57 +0000 (10:28 +0100)]
Import ffmpeg_5.0.1.orig.tar.xz
[dgit import orig ffmpeg_5.0.1.orig.tar.xz]
Sebastian Ramacher [Sat, 15 Jan 2022 16:49:38 +0000 (16:49 +0000)]
Merge ffmpeg (7:4.4.1-3) import into refs/heads/workingbranch
Martin Storsjö [Mon, 20 Sep 2021 10:00:40 +0000 (13:00 +0300)]
configure: arm: Don't add -march= to the compiler if no preference was passed
If no --cpu= option was passed to configure, we detect what the
compiler defaults to. This detected value was then fed back to the
rest of the configure logic, as if it was an explicit choice.
This breaks on Ubuntu 21.10 with GCC 11.1.
Since GCC 8, it's possible to add configure extra features via the
-march option, like e.g. -march=armv7-a+neon. If the -mfpu= option
is configured to default to 'auto', the fpu setting gets taken
from the -march option.
GCC 11.1 in Ubuntu seems to be configured to use -mfpu=auto. This
has the effect of breaking any compilation command that specifies
-march=armv7-a, because the driver implicitly also adds -mfloat-abi=hard,
and that combination results in this error:
cc1: error: ‘-mfloat-abi=hard’: selected processor lacks an FPU
Therefore, restructure configure. If no specific preference was set
(and the 'cpu' configure variable was set as the output of
probe_arm_arch), the value we tried to set via -march= was the same
value that we just tried to detect as the compiler default.
So instead, just try to detect what the compiler defaults to, with
to allow setting other configure settings (such as 'fast_unaligned'),
but don't try to spell out the compiler's default via the -march flag.
Signed-off-by: Martin Storsjö <martin@martin.st>
Gbp-Pq: Name 0002-configure-arm-Don-t-add-march-to-the-compiler-if-no-.patch
James Cowgill [Sun, 11 Aug 2019 15:50:56 +0000 (16:50 +0100)]
avcodec/arm/sbcenc: avoid callee preserved vfp registers
When compiling FFmpeg with GCC-9, some very random segfaults were
observed in code which had previously called down into the SBC encoder
NEON assembly routines. This was caused by these functions clobbering
some of the vfp callee saved registers (d8 - d15 aka q4 - q7). GCC was
using these registers to save local variables, but after these
functions returned, they would contain garbage.
Fix by reallocating the registers in the two affected functions in
the following way:
ff_sbc_analyze_4_neon: q2-q5 => q8-q11, then q1-q4 => q8-q11
ff_sbc_analyze_8_neon: q2-q9 => q8-q15
The reason for using these replacements is to keep closely related
sets of registers consecutively numbered which hopefully makes the
code more easy to follow. Since this commit only reallocates
registers, it should have no performance impact.
Signed-off-by: James Cowgill <jcowgill@debian.org>
Gbp-Pq: Name 0001-avcodec-arm-sbcenc-avoid-callee-preserved-vfp-regist.patch
Sebastian Ramacher [Sat, 15 Jan 2022 16:49:38 +0000 (16:49 +0000)]
ffmpeg (7:4.4.1-3) unstable; urgency=medium
[ Pino Toscano ]
* Restrict the clang Build-Depends to amd64 arm64 ppc64el, where CUDA exists.
(Closes: #994537)
[ Sebastian Ramacher ]
* debian/control:
- Also enable cuda_llvm on i386
- Suggest packages for nvenc
[dgit import unpatched ffmpeg 7:4.4.1-3]